$(function(){
	
	$("#btn-plupuplaod-file").on("click",function(){
		var $t = $(this);
		$.get('pageBean/plupload/plupload-file-demo-ajax.html?v='+new Date().getTime(), {}, function(str){
			layer.open({
				type: 1,
				area: ['700px', '490px'],
				title: "<i class=\"ace-icon fa blue fa-shopping-cart\"></i>&nbsp;&nbsp;文件上传",
				content: str,
				btn: ['确定', '取消'],
				yes:function(i){
					layer.msg(page_static_fn.publicGetFiles(),{time:3000},function(){});
				},
				success: function(){
					$.getScript('pageBean/plupload//plupload-file-demo-ajax.js');
				}
			});
			
		});
	});

	//$("#btn-plupuplaod-file").click();
});